/**
 * 
 */
package test;

import optimization.OptimizationI;
import optimization.naturalOptimization.particleSwarmOptimization.StandardPSO;

/**
 * This class provides a test for the standard configuration of the standard pso
 * algorithm.
 * 
 * @author Kevin Wagner
 * @version 1.0
 */
public class ExampleStandardPSO {

	/**
	 * @param args
	 */
	@SuppressWarnings("rawtypes")
	public static void main(String[] args) {
		OptimizationI optimization = new StandardPSO();
		optimization.init();
		optimization.perform();
		double[] erg = (double[]) optimization.getResults();
		for (int i = 0; i < erg.length; i++) {
			System.out.println(i + " " + erg[i]);
		}
	}

}
